package com.ztgf.shopping.models.bo.audit;

import com.alibaba.fastjson.annotation.JSONField;
import com.alibaba.fastjson.serializer.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
public class AuditImportPurchaseSaveBO implements Serializable {

    @ApiModelProperty(value = "店铺ID")
    @JSONField(serializeUsing = ToStringSerializer.class)
    private Long shopId;
    @ApiModelProperty(value = "审核类型 0注册，1开店，2资质变更，3新增品牌，4新增类目,5店铺变更、6采购")
    private Integer type;

    //保存必填
    @ApiModelProperty(value = "id")
    @JSONField(serializeUsing = ToStringSerializer.class)
    private Long id;
    @ApiModelProperty(value = "审核状态 0审核中，1审核通过，2审核打回，3审核不通过,4重新提交")
    private Integer status;
    @ApiModelProperty(value = "审核意见")
    private String content;

    @ApiModelProperty(value = "创建用户id")
    @JSONField(serializeUsing = ToStringSerializer.class)
    private Long createUserId;
    @ApiModelProperty(value = "创建用户名称")
    private String createUserName;
    @ApiModelProperty(value = "公司名称")
    private String shopName;
    @ApiModelProperty(value = "名称", required = true)
    private String name;
    @ApiModelProperty(value = "发布类型 0买家发布、1admin发布，2admin代客发布")
    private Integer publishType;
    @ApiModelProperty(value = "过期时间" , required = true)
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")//输入字符串
    private Date expiredTime;
    @ApiModelProperty(value = "是否同意平台修改 0不同意、1同意" , required = true)
    private Integer acceptEditStatus;
}
